From 77e105efab1025eaf1db4fa96519932a1d68bd54 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 4 Nov 2005 22:55:20 +0000 Subject: [PATCH] Add magellanx. Give up on testing some xcsv types. --- gpsbabel/testo | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gpsbabel/testo b/gpsbabel/testo index 4998784ee..2b85fce8a 100755 --- a/gpsbabel/testo +++ b/gpsbabel/testo @@ -42,6 +42,17 @@ compare_gpx() sed -e '1d' $2 > $TMPDIR/comp_gpx2 compare $TMPDIR/comp_gpx1 $TMPDIR/comp_gpx2 } + +# Some formats are just too boring to test. The ones that +# are xcsv include +# garmin301 +# garmin_poi +# gpsdrivetrack +# nima +# mapconverter +# geonet +# saplus +# s_and_t # Geocaching .loc rm -f ${TMPDIR}/gl.loc @@ -130,10 +141,19 @@ ${PNAME} -i geo -f geocaching.loc -o pcx -F ${TMPDIR}/mm.pcx ${PNAME} -i pcx -f ${TMPDIR}/mm.pcx -o gpsutil -F ${TMPDIR}/pcx.gps compare ${TMPDIR}/mm.gps ${TMPDIR}/gu.wpt +# # Magellan file format +# ${PNAME} -i magellan -f reference/magfile -o magellan -F ${TMPDIR}/magfile compare ${TMPDIR}/magfile reference/magfile +# +# Magellanx is just like, but with longer names. (which this admittedly +# doesn't actually exercise...) +# +${PNAME} -i magellan -f reference/magfile -o magellanx -F ${TMPDIR}/magfile2 +compare ${TMPDIR}/magfile2 reference/magfile + # Navitrak DNA marker format ${PNAME} -i dna -f reference/dnatest.txt -o dna -F ${TMPDIR}/dnatest.txt compare ${TMPDIR}/dnatest.txt reference/dnatest.txt @@ -356,6 +376,7 @@ ${PNAME} -r -i magellan -f reference/route/magellan.rte -o magellan \ -F ${TMPDIR}/magellan.rte compare ${TMPDIR}/magellan.rte reference/route/magellan.rte + # # GPX routes -- since GPX contains a date stamp, tests will always # fail, so we use magellan as an interim format... -- 2.30.2